Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.webapp.layouts.users.contrib--widgets

This contribution is part of XML component org.nuxeo.ecm.webapp.layouts.users.contrib inside nuxeo-platform-webapp-base-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="listing_userName" type="singleUserSuggestion">
          <labels>
            <label mode="any">label.userManager.user</label>
          </labels>
          <fields>
            <field>data.id</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
          <properties widgetMode="view">
            <property name="userSuggestionSearchType">USER_TYPE</property>
            <property name="firstLabelField">firstName</property>
            <property name="secondLabelField">lastName</property>
            <property name="hideFirstLabel">true</property>
            <property name="hideSecondLabel">true</property>
            <property name="displayAction">edit</property>
            <property name="hideIcon">true</property>
          </properties>
        </widget>
  • <widget name="listing_firstName" type="text">
          <labels>
            <label mode="any">label.userManager.firstName</label>
          </labels>
          <fields>
             <field>data.user.firstName</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="listing_lastName" type="text">
          <labels>
            <label mode="any">label.userManager.lastName</label>
          </labels>
          <fields>
             <field>data.user.lastName</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="listing_email" type="text">
          <labels>
            <label mode="any">email</label>
          </labels>
          <fields>
             <field>data.user.email</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="listing_groupName" type="singleUserSuggestion">
          <labels>
            <label mode="any">label.groupManager.groupName</label>
          </labels>
          <fields>
             <field>data.group.groupname</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
          <properties widgetMode="view">
            <property name="userSuggestionSearchType">GROUP_TYPE</property>
            <property name="hideFirstLabel">true</property>
            <property name="displayAction">edit</property>
            <property name="hideIcon">true</property>
          </properties>
        </widget>
  • <widget name="listing_groupLabel" type="text">
          <labels>
            <label mode="any">label.groupManager.groupLabel</label>
          </labels>
          <fields>
             <field>data.group.grouplabel</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="listing_userName" type="singleUserSuggestion">
      <labels>
        <label mode="any">label.userManager.user</label>
      </labels>
      <fields>
        <field>data.id</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
      <properties widgetMode="view">
        <property name="userSuggestionSearchType">USER_TYPE</property>
        <property name="firstLabelField">firstName</property>
        <property name="secondLabelField">lastName</property>
        <property name="hideFirstLabel">true</property>
        <property name="hideSecondLabel">true</property>
        <property name="displayAction">edit</property>
        <property name="hideIcon">true</property>
      </properties>
    </widget>

    <widget name="listing_firstName" type="text">
      <labels>
        <label mode="any">label.userManager.firstName</label>
      </labels>
      <fields>
         <field>data.user.firstName</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="listing_lastName" type="text">
      <labels>
        <label mode="any">label.userManager.lastName</label>
      </labels>
      <fields>
         <field>data.user.lastName</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="listing_email" type="text">
      <labels>
        <label mode="any">email</label>
      </labels>
      <fields>
         <field>data.user.email</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="listing_groupName" type="singleUserSuggestion">
      <labels>
        <label mode="any">label.groupManager.groupName</label>
      </labels>
      <fields>
         <field>data.group.groupname</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
      <properties widgetMode="view">
        <property name="userSuggestionSearchType">GROUP_TYPE</property>
        <property name="hideFirstLabel">true</property>
        <property name="displayAction">edit</property>
        <property name="hideIcon">true</property>
      </properties>
    </widget>

    <widget name="listing_groupLabel" type="text">
      <labels>
        <label mode="any">label.groupManager.groupLabel</label>
      </labels>
      <fields>
         <field>data.group.grouplabel</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

  </extension>